package com.macro.mall.mapper;

import com.macro.mall.dto.BmsNarratorThemeParam;
import com.macro.mall.model.BmsNarratorThemeApplicant;
import com.macro.mall.model.BmsNarratorThemeApplicantExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BmsNarratorThemeApplicantMapper {
    long countByExample(BmsNarratorThemeApplicantExample example);

    int deleteByExample(BmsNarratorThemeApplicantExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BmsNarratorThemeApplicant row);

    int insertSelective(BmsNarratorThemeApplicant row);

    List<BmsNarratorThemeApplicant> selectByExample(BmsNarratorThemeApplicantExample example);

    BmsNarratorThemeApplicant selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BmsNarratorThemeApplicant row, @Param("example") BmsNarratorThemeApplicantExample example);

    int updateByExample(@Param("row") BmsNarratorThemeApplicant row, @Param("example") BmsNarratorThemeApplicantExample example);

    int updateByPrimaryKeySelective(BmsNarratorThemeApplicant row);

    int updateByPrimaryKey(BmsNarratorThemeApplicant row);

    List<BmsNarratorThemeApplicant> findGroupApplicantByNarratorId(BmsNarratorThemeParam bmsNarratorThemeParam);
}
